package org.devf.fork.imsimulator.service.chat;

/**
 * ChatMgrFactory related
 *
 * @author wanghuafu
 * @since 1.0  2023/9/22 17:06
 */
public class ChatMgrFactory {

    private static IChat chat;

    public static synchronized IChat getMemoryChat(){
        if (chat==null) {
            chat = new DefaultMemoryChat();
        }
        return chat;
    }

}
